<page-header [title]="codeOptions.codeTitle" autoBreadcrumb="false" />

<nz-card [nzTitle]="'codeOptions.codeTitle'" [nzSize]="'default'" [nzExtra]="ingExtra" [nzBordered]="false">
  <button nz-button nzType="primary" (click)="submit()"> 确认 </button>
  <button nz-button class="ml-sm" (click)="close()">关闭</button>

  <ng-template #ingExtra>
    <div>
      选择数据库：
      <nz-select [(ngModel)]="dbType" nzAllowClear>
        <nz-option *ngFor="let item of list" [nzLabel]="item" [nzValue]="item" />
      </nz-select>
    </div>
  </ng-template>
  <!-- <ngx-codemirror [(ngModel)]="codeOptions.codeConent" [options]="codeMirrorOptions"> </ngx-codemirror> -->
</nz-card>
